package com.cskaoyan;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@SpringBootApplication
@MapperScan(basePackages = "com.cskaoyan.mapper")
@EnableScheduling //开启定时任务
//@ComponentScan(basePackages = "com.cskaoyan")
public class Mall26Application {

    public static void main(String[] args) {
        SpringApplication.run(Mall26Application.class, args);
    }

}
